﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="KhongGianSong.ascx.cs" Inherits="WebHousingInfo.Controls.KhongGianSong" %>
<div id="noithat_200">
    <% var objectKGSong = HousingInfo.Library.NewsBOList.GetNewsBOList_ByNoiThat(9, 5); %>
    <div class="title">KHÔNG GIAN SỐNG</div>
    <div class="content">
        <% foreach (var objectKGSong_Detail in objectKGSong)
       {%>       
        <div class="data">
	        <a href="#"><img src="Images/16_1300417314.jpg" width="80" height="70" border="0" align="left" /></a>
	        <p style="text-align:justify; font-weight:normal;"><a href="#"><%=objectKGSong_Detail.Title%></a></p>
	       
        <% if (objectKGSong_Detail.NewsContent.Length > 90)
           { %>
         <%=objectKGSong_Detail.NewsContent.Substring(0, 89)%> ...
        <%}
           else
           { %>
        <%=objectKGSong_Detail.NewsContent%>
        <%} %>
        
        </div>
        <div class="line"></div>
        <%} %>
    </div>
    <div class="footer"><a href="#">Xem thêm</a></div>
</div>